const Layout = () => import('@/layout/index.vue')

export default {
  name: 'Schedule',
  path: '/schedule',
  component: Layout,
  redirect: '/schedule/scheduling',
  meta: {
    title: '出诊安排',
    icon: 'maki:doctor-11',
    role: ['admin','doctor'],
    requireAuth: true,
    order: 4,
  },
  children: [
    {
      name: 'Arrange',
      path: 'arrange',
      component: () => import('./arrange/index.vue'),
      meta: {
        title: '出诊管理',
        icon: 'uis:schedule',
        role: ['admin','doctor'],
        requireAuth: true,
        keepAlive: true,
      },
    },
    {
      name: 'Booking',
      path: 'booking',
      component: () => import('./booking/index.vue'),
      meta: {
        title: '预约记录',
        icon: 'material-symbols:schedule',
        role: ['admin','doctor'],
        requireAuth: true,
        keepAlive: true,
      },
    },
  ],
}
